package engine.event
{
	import flash.events.Event;
	
	public class RoleEffectEvent extends Event
	{
		public static const SHOW_EFFECT	: String = "show_effect";
		
		/**
		 *	升级了
		 */		
		public static const LEVEL_UP 		: String = "level_up";
		
		/**
		 *	接任务了 
		 */		
		public static const ACCEPT_TASK 	: String = "accept_task";
		
		/**
		 *	完成任务了 
		 */		
		public static const COMPLETE_TASK	: String = "complete_task";
		
		public var effectType : String;
		
		public function RoleEffectEvent( effectType : String )
		{
			this.effectType = effectType;
			super(SHOW_EFFECT, bubbles, cancelable);
		}
	}
}